$(document).ready(function() {
    $(window).resize(function () {
       change_height();
    });
    change_height();
});

function change_height() {
    window.parent.window.change_height("#contentiframe");
}


